﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ResponeDetail.aspx.cs"
    Inherits="ATW.MT.SellManage.ResponeDetail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>询价详情</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <script type="text/javascript" src="../Scripts/jquery-1.10.2.min.js"></script>
    <link rel="Stylesheet" href="../Styles/css.css" />
</head>
<body>
    <form id="form1" runat="server">
    <div style="width: 95%; text-align: center">
        <asp:Repeater runat="server" ID="rpList">
            <HeaderTemplate>
                <table width="100%" border="0" class="queryResultTable" cellpadding="0" cellspacing="0">
                    <tr>
                        <th>
                        </th>
                        <th>
                            产品名称
                        </th>
                        <th>
                            公/英制
                        </th>
                        <th>
                            铸/锻件
                        </th>
                        <th>
                            阀体
                        </th>
                        <th>
                            阀瓣
                        </th>
                        <th>
                            阀座
                        </th>
                        <th>
                            填料
                        </th>
                        <th>
                            阀杆
                        </th>
                        <th>
                            压力等级
                        </th>
                        <th>
                            设计标准
                        </th>
                        <th>
                            法兰标准
                        </th>
                        <th>
                            结构标准
                        </th>
                        <th>
                            密封等级
                        </th>
                        <th>
                            设计温度
                        </th>
                        <th>
                            连接方式
                        </th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <asp:LinkButton runat="server" ID="lbnDetail" Style="padding: 0px 7px;" OnClick="lbnDetail_Click"
                            CssClass="queryButton">+</asp:LinkButton>
                        <asp:LinkButton runat="server" ID="lbnHide" Style="padding: 0px 7px;" OnClick="lbnHide_Click"
                            CssClass="queryButton" Visible="false">-</asp:LinkButton>
                        <asp:HiddenField runat="server" ID="hdfOid" Value='<%#Eval("OID").ToString()%>' />
                    </td>
                    <td>
                        <%#Eval("ProductionDesc").ToString()%>
                    </td>
                    <td>
                        <%# Eval("args03").ToString()%>
                    </td>
                    <td>
                        <%#Eval("args08").ToString()%>
                    </td>
                    <td>
                        <%#Eval("MID_BDesc").ToString()%>
                    </td>
                    <td>
                        <%#Eval("MID_IDesc").ToString()%>
                    </td>
                    <td>
                        <%#Eval("args02Desc").ToString()%>
                    </td>
                    <td>
                        <%#Eval("args09Desc").ToString()%>
                    </td>
                    <td>
                        <%#Eval("MID_SDesc").ToString()%>
                    </td>
                    <td>
                        <%#Eval("PressureIDDesc").ToString()%>
                    </td>
                    <td>
                        <%#Eval("args04Desc").ToString()%>
                    </td>
                    <td>
                        <%#Eval("args05Desc").ToString()%>
                    </td>
                    <td>
                        <%#Eval("args06Desc").ToString()%>
                    </td>
                    <td>
                        <%#Eval("LevelType").ToString() + " " + Eval("Level").ToString()%>
                    </td>
                    <td>
                        <%#Eval("args01").ToString()%>
                    </td>
                    <td>
                        <%#Eval("ConnDesc").ToString()%>
                    </td>
                </tr>
                <tr id="trDetail" runat="server" visible="false">
                    <td>
                    </td>
                    <td colspan="15" style="padding: 0px">
                        <table border="0" cellpadding="0" cellspacing="0" style="margin: 0px" class="queryResultTable"
                            width="100%">
                            <tr>
                                <th>
                                    口径
                                </th>
                                <th>
                                    数量
                                </th>
                                <th>
                                    单价
                                </th>
                                <th>
                                    交期
                                </th>
                                <th>
                                    小计
                                </th>
                                <th>
                                    是否确认
                                </th>
                            </tr>
                            <asp:Repeater ID="rpSub" runat="server">
                                <ItemTemplate>
                                    <tr>
                                        <td>
                                            <%#Eval("SIDDesc").ToString()%>
                                        </td>
                                        <td>
                                            <%#Eval("num").ToString()%>
                                        </td>
                                        <td>
                                            <%#Eval("Single_Price").ToString()%>
                                        </td>
                                        <td>
                                            <%#Eval("deliver_time").ToString()%>
                                        </td>
                                        <td>
                                            <%#Eval("sum").ToString() %>
                                        </td>
                                        <td>
                                            <%#Eval("Is_Confirmed").ToString() == "0" ? "未采用" : "已采用"%>
                                        </td>
                                    </tr>
                                </ItemTemplate>
                            </asp:Repeater>
                        </table>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
        <input type="button" value="关闭" class="queryButton" onclick="window.close()" />
    </div>
    </form>
</body>
</html>
